package com.wujing.scat.biz.price.controller;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("/price")
public class PriceController {

    @Value("${spring.application.name}")
    private String applicationName;

    @GetMapping("/v1/get_application_name")
    public String getApplicationName() {
        return applicationName;
    }
}
